﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.Persons
{
    /// <summary>
    /// 联系人
    /// </summary>
    public class Person : FullAuditedEntity
    {
        /// <summary>
        /// 姓名
        /// </summary>
        [Required]
        [MaxLength(AbpZeroTemplateConsts.MaxDisplayNameLength)]
        public string Name { get; set; }
        
        /// <summary>
        /// Email
        /// </summary>
        [MaxLength(AbpZeroTemplateConsts.MaxEmailLength)]
        public string Email { get; set; }
    }
}
